package com.qys.livesMall.shop.modal.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @packageName:
 * @className:shopSeckillOrderDto
 * @Description:
 * @author:guomx
 * @date:2023/7/713:43
 */
@Data
public class ShopSeckillOrderDto {
    @NotNull(message = "skuId不能为空")
    @Schema(description = "sku的id")
    Long skuId;
    @NotNull(message = "数量不能为空")
    Integer num;

    @NotNull(message = "不能为空")
    @Schema(description = "秒杀的商品Id")
    private Long seckillGoodsId;

    @Schema(description = "国家")
    private Long country;

    @Schema(description = "国家名称")
    private String countryName;

    @Schema(description = "收货人姓名")
    private String consigUser;

    @Schema(description = "邮编")
    private String postalCode;

    @Schema(description = "有限")
    private String email;

    @Schema(description = "收货人地址")
    private String address;

    @Schema(description = "电话")
    private String mobile;

    @Schema(description = "城市")
    private String city;

    @Schema(description = "地标")
    private String landmark;
}
